package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import java.util.Date;

/**
 * 观众报名对象 audi
 *
 * @autor saruri
 * @date 2024-06-18
 */
public class Audi extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 排序 */
    private Long sort;

    /** 是否开启 */
    private Integer isEnable;

    /** 名称 */
    @Excel(name = "姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 性别 */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知,3=跨性别")
    private Integer sex;

    /** 状态 */
    private Long audiStatus;

    /** 节目id */
    private Integer tvId;

    /** 手机 */
    @Excel(name = "手机")
    private String tel;

    /** 微信id */
    private String openid;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idcard;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 部门ID */
    private Long deptId;

    /** 用户ID */
    private Long userId;

    /** 签到时间 */
    private Date signInTime;

    /** 是否签到 */
    private Integer isSignedIn;

    /** 签到类型 */
    private Integer signInType;

    // Getters and setters

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return sex;
    }

    public void setAudiStatus(Long audiStatus) {
        this.audiStatus = audiStatus;
    }

    public Long getAudiStatus() {
        return audiStatus;
    }

    public void setTvId(Integer tvId) {
        this.tvId = tvId;
    }

    public Integer getTvId() {
        return tvId;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTel() {
        return tel;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getSignInTime() {
        return signInTime;
    }

    public void setSignInTime(Date signInTime) {
        this.signInTime = signInTime;
    }

    public Integer getIsSignedIn() {
        return isSignedIn;
    }

    public void setIsSignedIn(Integer isSignedIn) {
        this.isSignedIn = isSignedIn;
    }

    public Integer getSignInType() {
        return signInType;
    }

    public void setSignInType(Integer signInType) {
        this.signInType = signInType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sort", getSort())
                .append("createTime", getCreateTime())
                .append("isEnable", getIsEnable())
                .append("name", getName())
                .append("age", getAge())
                .append("sex", getSex())
                .append("audiStatus", getAudiStatus())
                .append("tvId", getTvId())
                .append("tel", getTel())
                .append("openid", getOpenid())
                .append("idcard", getIdcard())
                .append("city", getCity())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("signInTime", getSignInTime())
                .append("isSignedIn", getIsSignedIn())
                .append("signInType", getSignInType())
                .toString();
    }
}
